package com.bole.dao;

import com.bole.pojo.TbContentDo;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

@Transactional
public interface ContentDao extends JpaRepository<TbContentDo, Long> {
    List<TbContentDo> findAllByContentTypeId(Long contentTypeId);
}
